xen/arm32: head: Rework and document zero_bss()
authorJulien Grall <julien.grall@arm.com>
Wed, 26 Jun 2019 20:23:50 +0000 (21:23 +0100)
committerJulien Grall <julien.grall@arm.com>
Sat, 7 Sep 2019 11:10:43 +0000 (12:10 +0100)
commit61748d7592a361ad175eab2bfc5a359a2fc22735
treeb58bc155169c3137e29b8e7f7570d7909e134280
parent1145ea989613f448e401caf004d2de26d834a267
xen/arm32: head: Rework and document zero_bss()

On secondary CPUs, zero_bss() will be a NOP because BSS only need to be
zeroed once at boot. So the call in the secondary CPUs path can be
removed.

Lastly, document the behavior and the main registers usage within the
function.

Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
xen/arch/arm/arm32/head.S